package net.kid06.mybatis.user;

/**
 * 用户信息
 * 
 * @author liuyi
 *
 */
public class UserEntity {
	private int id;
	private String username;// 用户名
	private String password;// 密码
	private String nickname;// 昵称
	private String avatar;// 头像
	private String phone;// 手机号码
	private int age;// 年龄
	private int tab_vip_id;
	private int gender;// 性别：0.男1女
	private int login_num;// 登录次数
	private String type;// 用户类型 0.未审核1.通过2.未通过3.删除
	private String create_date;// 创建时间

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getTab_vip_id() {
		return tab_vip_id;
	}

	public void setTab_vip_id(int tab_vip_id) {
		this.tab_vip_id = tab_vip_id;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public int getLogin_num() {
		return login_num;
	}

	public void setLogin_num(int login_num) {
		this.login_num = login_num;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", username=" + username + ", password=" + password + ", nickname=" + nickname + ", avatar=" + avatar + ", phone=" + phone + ", age=" + age + ", tab_vip_id=" + tab_vip_id + ", gender=" + gender + ", login_num=" + login_num + ", type=" + type + ", create_date=" + create_date + "]";
	}

}
